#include "mybeep.h"
using namespace std;

myBeep::myBeep(float theFrequency, int theDuration) {
  frequency = theFrequency;
  duration = theDuration;
}

void *myBeep::Entry() {
  Beep((int)(frequency + 0.5), duration - 10);
  return NULL;
}

void myBeep::OnExit() {
  // nothing for now
}

